{% load hakaze_filters %}

   <div class="postbox">
      <b><a href="{% url hakaze.forums.views.postview post.thread.channel.codename,post.thread.get_idinchannel,post.get_idinthread %}"> {{ post.get_idinthread }} </a> </b> Name :
      {% if post.url %} <a href='{{post.url}}'> {% endif %}
      {% if post.name %} <b> {{ post.name }} </b>
           {% if post.tripcode %} ID: {{ post.tripcode }} {% endif %}
      {% else %} <b> Anonymous </b> {% endif %}
      {% if post.url %} </a> {% endif %}</b> : {{ post.datetime.ctime }}
      <br/>
      <blockquote>
      {% if not post.is_deleted %}
         {{ post.contents|hakazefy:post.thread }}
      {% else %}
         {{ "''Post deleted by moderator''"|hakazefy:"" }}
      {% endif %}
      </blockquote>
      {% if user.is_staff %}
           <blockquote>
           <pre>
Is Deleted           : {{ post.is_deleted }}
IP                   : {{ post.ip }}
HTTP_X_FORWARDED_FOR : {{ post.http_x_forwarded_for }}
           </pre>
           <a href="{% url hakaze.forums.views.postdelete %}?postid={{ post.id }}">Delete Post</a>
           <a href="{% url hakaze.forums.views.postdelete %}?postid={{ post.id }}&undelete=1">UnDelete Post</a>
           </blockquote>
      {% endif %}

   </div>
